# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit eutils

DESCRIPTION="CUDD - CU decision diagram package"
HOMEPAGE="http://vlsi.colorado.edu/~fabio/CUDD/"
SRC_URI="ftp://vlsi.colorado.edu/pub/${P}.tar.gz"

LICENSE="as-is"
SLOT="0"
KEYWORDS="x86"

IUSE=""
DEPEND="virtual/libc"

src_compile() {
	emake || die
}

src_install() {
	dodir /usr/lib/cudd /usr/include/cudd

	insinto /usr/lib/cudd
	doins cudd/libcudd.a
	doins dddmp/libdddmp.a
	doins epd/libepd.a
	doins mtr/libmtr.a
	doins st/libst.a
	doins util/libutil.a

	insinto /usr/include/cudd
	doins include/*
}

